Skip to content

feat(lastcode): prove hosted CI waiting - #104

Merged
lastobelus merged 3 commits into
lastcode/mainfrom
lastcode/github-ci-waiting
Aug 27, 2026
Merged

feat(lastcode): prove hosted CI waiting#104
lastobelus merged 3 commits into
lastcode/mainfrom
lastcode/github-ci-waiting

Conversation

@lastobelus

Copy link
Copy Markdown
Owner

The existing waiter assumes that every PR must eventually report a hosted check, so repositories with CI disabled can wait forever. Before GitHub CI can become authoritative, we also need one stable aggregate gate tied to the exact synthesized PR merge revision.

This change moves the existing workflow onto standard GitHub runners, adds a fail-closed CI Gate, and teaches Wait for PR to distinguish disabled/non-required CI from an enabled workflow that has not registered yet. The waiter binds local branch, worktree, PR, head, base, merge revision, workflow run, and aggregate job identity; it wakes on actionable failures or bounded missing-registration states while keeping clean review completion asleep until all passive gates are ready.

Focused validation: 41 tests across the workflow policy, GitHub-CI evaluator, and waiter; scripts-package typecheck; focused lint; YAML parse; diff check. The branch was published with --no-verify to avoid the known blocking Quick CI hook; the existing Full CI stamp remains required for guarded merge during this proof slice.

Part of #103.

Implemented with GPT-5.6 Sol in the Codex harness.

@lastobelus

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8916428a36

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread scripts/lastcode-github-ci.ts Outdated
@lastobelus

Copy link
Copy Markdown
Owner Author

@codex review

@lastobelus

Copy link
Copy Markdown
Owner Author

Briefly closing and reopening to trigger the newly enabled hosted-CI proof without changing the reviewed head.

@lastobelus lastobelus closed this Aug 27, 2026
@lastobelus lastobelus reopened this Aug 27, 2026
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Swish!

Reviewed commit: 664040618d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@lastobelus

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Bravo.

Reviewed commit: 0da56047da

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@lastobelus
lastobelus force-pushed the lastcode/github-ci-waiting branch from 0da5604 to bf1fa30 Compare August 27, 2026 03:10
@lastobelus

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Already looking forward to the next diff.

Reviewed commit: bf1fa30f79

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@lastobelus
lastobelus merged commit d3ae5d2 into lastcode/main Aug 27, 2026
10 checks passed
@lastobelus
lastobelus deleted the lastcode/github-ci-waiting branch August 27, 2026 03:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant